/**
 * jims
 */
package com.jims.master.modules.template.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jims.master.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

import java.util.Date;

/**
 * TreatRecordItemEntity
 * @author zp
 * @version 2017-07-17
 */
public class TreatRecordItem extends DataEntity<TreatRecordItem> {
	
	private static final long serialVersionUID = 1L;
	private String treatProjectId;		// 治疗类型
	private String applyId;		// 主表id
	private String zhusu;		// 主诉
	private String xianbingshi;		// 现病史
	private String jiwangshi;		// 既往史
	private String gerenshi;		// 个人史
	private String hunyushi;		// 婚育史
	private String jiazushi;		// 家族史
	private String yuejingshi;		// 月经史
	private String fabinghouqingkuang;		// 发表后一般情况
	private String tiwen;		// 体温
	private String maibo;		// 脉搏
	private String huxi;		// 呼吸
	private String xueya;		// 血压
	private String bingshichenshuzhe;		// 病史陈述者
	private String tigejiancha;		// 体格检查
	private String fuzhujiancha;		// 辅助检查
	private String xiaojiefenxi;		// 小结分析
	private Date bingshicaijiriqi;		// 病史采集日期
	private String newDept;
	
	public TreatRecordItem() {
		super();
	}

	public TreatRecordItem(String id){
		super(id);
	}

	@Length(min=0, max=64, message="治疗类型长度必须介于 0 和 64 之间")
	public String getTreatProjectId() {
		return treatProjectId;
	}

	public void setTreatProjectId(String treatProjectId) {
		this.treatProjectId = treatProjectId;
	}
	
	@Length(min=0, max=64, message="主表id长度必须介于 0 和 64 之间")
	public String getApplyId() {
		return applyId;
	}

	public void setApplyId(String applyId) {
		this.applyId = applyId;
	}
	
	@Length(min=0, max=500, message="主诉长度必须介于 0 和 500 之间")
	public String getZhusu() {
		return zhusu;
	}

	public void setZhusu(String zhusu) {
		this.zhusu = zhusu;
	}
	
	@Length(min=0, max=500, message="现病史长度必须介于 0 和 500 之间")
	public String getXianbingshi() {
		return xianbingshi;
	}

	public void setXianbingshi(String xianbingshi) {
		this.xianbingshi = xianbingshi;
	}
	
	@Length(min=0, max=500, message="既往史长度必须介于 0 和 500 之间")
	public String getJiwangshi() {
		return jiwangshi;
	}

	public void setJiwangshi(String jiwangshi) {
		this.jiwangshi = jiwangshi;
	}
	
	@Length(min=0, max=500, message="个人史长度必须介于 0 和 500 之间")
	public String getGerenshi() {
		return gerenshi;
	}

	public void setGerenshi(String gerenshi) {
		this.gerenshi = gerenshi;
	}
	
	@Length(min=0, max=500, message="婚育史长度必须介于 0 和 500 之间")
	public String getHunyushi() {
		return hunyushi;
	}

	public void setHunyushi(String hunyushi) {
		this.hunyushi = hunyushi;
	}
	
	@Length(min=0, max=500, message="家族史长度必须介于 0 和 500 之间")
	public String getJiazushi() {
		return jiazushi;
	}

	public void setJiazushi(String jiazushi) {
		this.jiazushi = jiazushi;
	}
	
	@Length(min=0, max=500, message="月经史长度必须介于 0 和 500 之间")
	public String getYuejingshi() {
		return yuejingshi;
	}

	public void setYuejingshi(String yuejingshi) {
		this.yuejingshi = yuejingshi;
	}
	
	public String getFabinghouqingkuang() {
		return fabinghouqingkuang;
	}

	public void setFabinghouqingkuang(String fabinghouqingkuang) {
		this.fabinghouqingkuang = fabinghouqingkuang;
	}
	
	@Length(min=0, max=200, message="体温长度必须介于 0 和 200 之间")
	public String getTiwen() {
		return tiwen;
	}

	public void setTiwen(String tiwen) {
		this.tiwen = tiwen;
	}
	
	@Length(min=0, max=200, message="脉搏长度必须介于 0 和 200 之间")
	public String getMaibo() {
		return maibo;
	}

	public void setMaibo(String maibo) {
		this.maibo = maibo;
	}
	
	@Length(min=0, max=200, message="呼吸长度必须介于 0 和 200 之间")
	public String getHuxi() {
		return huxi;
	}

	public void setHuxi(String huxi) {
		this.huxi = huxi;
	}
	
	@Length(min=0, max=200, message="血压长度必须介于 0 和 200 之间")
	public String getXueya() {
		return xueya;
	}

	public void setXueya(String xueya) {
		this.xueya = xueya;
	}
	
	@Length(min=0, max=200, message="病史陈述者长度必须介于 0 和 200 之间")
	public String getBingshichenshuzhe() {
		return bingshichenshuzhe;
	}

	public void setBingshichenshuzhe(String bingshichenshuzhe) {
		this.bingshichenshuzhe = bingshichenshuzhe;
	}
	
	public String getTigejiancha() {
		return tigejiancha;
	}

	public void setTigejiancha(String tigejiancha) {
		this.tigejiancha = tigejiancha;
	}
	
	public String getFuzhujiancha() {
		return fuzhujiancha;
	}

	public void setFuzhujiancha(String fuzhujiancha) {
		this.fuzhujiancha = fuzhujiancha;
	}
	
	public String getXiaojiefenxi() {
		return xiaojiefenxi;
	}

	public void setXiaojiefenxi(String xiaojiefenxi) {
		this.xiaojiefenxi = xiaojiefenxi;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getBingshicaijiriqi() {
		return bingshicaijiriqi;
	}

	public void setBingshicaijiriqi(Date bingshicaijiriqi) {
		this.bingshicaijiriqi = bingshicaijiriqi;
	}

	public String getNewDept() {
		return newDept;
	}

	public void setNewDept(String newDept) {
		this.newDept = newDept;
	}
}